package ictbk.ttmk51.grapro.app.safesms;

public class SMS {
	
	private long id; //id for the message
	private String address; //The Phone Number of the sender/recipient
	private String body; // the content of the message.
	private long date; //The java date representation (including millisecond) of the time when the message was sent/received.
	private int type; // Sent = 3, Received = 1.
	private int read; //Read Message = 1, Unread Message = 0.
	private long status; //None = -1, Complete = 0, Pending = 32, Failed = 64.
	private long thread_id;
	private String person;
	private String reply_path_present;
	private String service_center;
	private String locked;
	private String error_code;
	private String protocol;
	private String seen;
	private String subject;
	
	
	public SMS(){
		
	}
	
	public SMS(long id, String address, String body, long date, int type, int read, long status, long thread_id, String seen, String error_code, String locked, String reply_path_present, String subject, String service_center, String person, String protocol){
		this.id = id;
		this.address = address;
		this.body = body;
		this.date = date;
		this.type = type;
		this.read = read;
		this.status = status;
		this.thread_id = thread_id;
		this.seen = seen;
		this.error_code = error_code;
		this.locked = locked;
		this.protocol = protocol;
		this.reply_path_present = reply_path_present;
		this.person = person;
		this.subject = subject;
		this.service_center = service_center;
	}
	
	public void setID(long id){
		this.id = id;
	}
	public long getID(){
		return id;
	}
	/*
	public void setContactName(String contact_name){
		this.contact_name = contact_name;
	}
	public String getContactName(){
		return contact_name;
	}
	*/
	public void setAddress(String address){
		this.address = address;
	}
	public String getAddress(){
		return address;
	}
	
	public void setBody(String body){
		this.body = body;
	}
	public String getBody(){
		return body;
	}
	
	public void setDate(long date){
		this.date = date;
	}
	public long getDate(){
		return date;
	}
	
	public void setType(int type){
		this.type = type;
	}
	public int getType(){
		return type;
	}
	
	public void setRead(int read){
		this.read = read;
	}
	public int getRead(){
		return read;
	}
	
	public void setStatus(long status){
		this.status = status;
	}
	public long getStatus(){
		return status;
	}
	
	public void setThread_ID(long thread_id){
		this.thread_id = thread_id;
	}
	public long getThread_ID(){
		return thread_id;
	}
	
	public void setSEEN(String seen){
		this.seen = seen;
	}
	public String getSEEN(){
		return seen;
	}
	
	public String getPerson(){
		return person;
	}
	public void setPerson(String person){
		this.person = person;
	}
	
	public String getProtocol(){
		return protocol;
	}
	public void setProtocol(String protocol){
		this.protocol = protocol;
	}
	
	public String getReply_path_present(){
		return reply_path_present;
	}
	
	public void setReply_path_present(String reply_path_present){
		this.reply_path_present = reply_path_present;
	}
	
	public String getService_center(){
		return service_center;
	}
	public void setService_center(String service_center){
		this.service_center = service_center;
	}
	
	public String getLocked(){
		return locked;
	}
	public void setLocked(String locked){
		this.locked = locked;
	}
	
	public String getError_code(){
		return error_code;
	}
	public void setError_code(String error_code){
		this.error_code = error_code;
	}
	
	public String getSubject(){
		return subject;
	}
	public void setSubject(String subject){
		this.subject = subject;
	}
}
